home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / destructor.gsh < prev    next >
Text File  |  2000-09-09  |  2KB  |  66 lines

  1. // defines DESTRUCTOR
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_DESTRUCTOR_GSH
  8. #define INCLUDED_DESTRUCTOR_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "destructorfrag.gsh"
  14.  
  15. hierarchy Hcy_destructor
  16. {
  17.     file "units\destructor.RIF"
  18.     name "destructor"
  19.     hotspot "dumflash"
  20. }
  21.  
  22. hierarchy Hcy_destructor_shadow
  23. {
  24.     file "units\Destructor_shadow.RIF"
  25.     name "destructor_shadow"
  26. }
  27.  
  28. character Chr_destructor : Chr_DefaultBaddie
  29. {
  30.     turning speed   0.8    // this is in revolutions per second
  31.     walking speed   1.0    // this is in animation cycles per second
  32.     weapon            enemy laser medium
  33.     strength    60    // initial strength points
  34.     aim             4    // how many degrees off target he can be at most
  35.     sight angle    20    // in degrees
  36.     sight range     15    // in metres
  37.     hearing range    12    // in metres
  38.     aggression    1    // from 0 to 1
  39.     gun yaw angle    0    // in degrees
  40.     shadow hierarchy    Hcy_destructor_shadow
  41.     
  42. }
  43.  
  44. role Rol_destructor : Rol_DefaultRobot
  45. {
  46.     shape            Hcy_destructor
  47.  
  48.     character        Chr_destructor
  49.  
  50.     identifier        "destructor"
  51.  
  52.     armour    2
  53.  
  54.     ai                bot
  55.  
  56.     destructibility        Frg_destructor
  57.  
  58.     
  59.  
  60. }
  61.  
  62. ////////////////////////////////////////////////////////////////////////////////////
  63.  
  64. // end wrapper - for preventing multiple or recursive inclusions
  65. #endif // !INCLUDED_DESTRUCTOR_GSH
  66.